<?php

namespace app\api\controller;
use app\common\library\BtcPay;
class Test {
    public function index()  {
        $btcPay = new BtcPay();
        $result = $btcPay->createOrder(1000, '测试支付', '2025041200',  'http://127.0.0.1');
        return json($result);
        
    }
}